<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>SearchForm</title>
<!--style start-->
<link href="../../style/doc.css" rel="stylesheet" type="text/css">
<!--style end-->

<!--script start-->
<!--[if lt IE 9]><script src="/common/html5/3.7.3/html5.js"></script><![endif]-->
<!--script end-->
</head>
<body class="docContent">
<h1>SearchForm</h1>
<section>
  <h2>依赖</h2>
  <p>Form</p>
</section>
<section>
  <h2>简介</h2>
  <p>单负责表单的搜索参数的整合</p>
</section>
<section>
  <h2>用法</h2>
  <article>
  	<pre>
&lt;script type=&quot;text/javascript&quot;&gt;
var searchForm=new SearchForm();
&lt;/script&gt;
	</pre>
  </article>
</section>
<section>
  <h2>属性</h2>
  <table class="table">
    <thead>
      <tr>
        <th>名称</th>
        <th>类型</th>
        <th>描述</th>
        <th>默认值</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>target</td>
        <td>String</td>
        <td>类对象</td>
        <td></td>
      </tr>
    </tbody>
  </table>
</section>
<section>
  <h2>方法</h2>
  <table class="table">
    <thead>
      <tr>
        <th>方法名</th>
        <th>参数</th>
        <th>返回值</th>
        <th>说明</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>init</td>
        <td></td>
        <td>void</td>
        <td>初始化搜索框</td>
      </tr>
      <tr>
        <td>updateRuleNames</td>
        <td></td>
        <td>void</td>
        <td>根据规则表更新验证规则</td>
      </tr>
      <tr>
        <td>updateClass</td>
        <td></td>
        <td>void</td>
        <td>根据规则表更新样式类</td>
      </tr>
      <tr>
        <td>clearButtonHandle</td>
        <td></td>
        <td>void</td>
        <td>清除按钮点击</td>
      </tr>
      <tr>
        <td>clearSearchModule</td>
        <td></td>
        <td>void</td>
        <td>清除搜索模块</td>
      </tr>
      
      <tr>
        <td>searchButtonHandle</td>
        <td></td>
        <td>void</td>
        <td>搜索按钮点击处理</td>
      </tr>
      
      <tr>
        <td>getSerializeArray</td>
        <td></td>
        <td>serializeArray</td>
        <td>获得序列化数据</td>
      </tr>
      
      <tr>
        <td>insertElement</td>
        <td>element html元素</td>
        <td>void</td>
        <td>在元素前端加入元素</td>
      </tr>
    </tbody>
  </table>
</section>
</body>
</html>